keyCode

open fun keyCode(): KeyCode

Returns the code of the key.